package com.example.lib_log

import java.util.logging.Level

interface ILogger {
    fun d(tag:String, log:String)
    fun v(tag:String, log:String)
    fun i(tag:String, log:String)
    fun w(tag:String, log:String)
    fun e(tag:String, log:String)
    fun log(level: Level, msg: String)
    fun log(level: Level, msg: String, th: Throwable)
    /**
     * 是否Debug
     */
    fun setDebug(isDebug:Boolean)
    /**
     * 默认TAG
     */
    fun setLogTAG(TAG:String)
    /**
     * 默认日志等级
     */
    fun setLogLevel(level:LoggerLevel)
    /**
     * Log存储位置,可以是本地路径 可以是网络路径 可以是Email地址
     */
    fun setSaveUrl(url:String)
}